package com.edeweiss.community.services.servicesImp;

import com.edeweiss.community.dao.IndexDao;
import com.edeweiss.community.dao.daoImp.IndexDaoImpl;
import com.edeweiss.community.domain.Community;
import com.edeweiss.community.domain.FindHof;
import com.edeweiss.community.domain.Student;
import com.edeweiss.community.services.IndexService;

import java.util.List;

public class IndexServiceImpl implements IndexService {
    private IndexDao indexDao = new IndexDaoImpl();
    @Override
    public List<Community> findHonorWall() {
        return indexDao.findHonorWall();
    }

    @Override
    public List<FindHof> findHallOfFame() {
        return indexDao.findHallOfFame();
    }
}
